DISABLE OBJECT ZREAD

This command will disable the Z read state of the object.

  Syntax
DISABLE OBJECT ZREAD Object Number
  Parameters
Object Number
Integer
Specify an object number between 1 and 2415919103.

  Returns

This command does not return a value.

  Description

The Z read state controls whether each pixel of the rendered object obeys the rule of Z buffer depth culling. The default value is enabled, where the object will only render pixels of the object that are above any previous pixels rendered to the screen. By disabling this state, all pixels are rendered whether they occur behind prior pixels or not.

  Example Code
set display mode 800,600,32
cls
make object sphere 1,20
DISABLE OBJECT ZREAD 1
do
loop
end
  See also

BASIC3D Commands Menu
Index